package 进阶.线程.多线程2;


//1.创建一个Runnable的实现类
public class RunnableImpl implements Runnable {
    //2.重写run
    @Override
    public void run() {
        for (int i = 0; i < 20; i++) {
            System.out.println(Thread.currentThread().getName() + i);
        }
    }
}
